package com.bwjf.authority.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;


/**
 * <p>
 * 角色表
 * </p>
 *
 * @author LiLuQing
 * @since 2017-03-06
 */
@TableName("authority_role")
public class AuthorityRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
	@TableId("role_id")
	private String roleId;
    /**
     * 角色名称
     */
	@TableField("role_name")
	private String roleName;
    /**
     * 是否有效：   0否    1是
     */
	private Integer valid;
    /**
     * 排序值    值越大优先级越高
     */
	@TableField("sorting_num")
	private Integer sortingNum;
	@TableField("organization_id")
	private String organizationId;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 创建人
     */
	private String creator;
    /**
     * 是否删除    0正常  1已删除
     */
	private Integer del;
    /**
     * 删除时间
     */
	@TableField("del_time")
	private Date delTime;


	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Integer getValid() {
		return valid;
	}

	public void setValid(Integer valid) {
		this.valid = valid;
	}

	public Integer getSortingNum() {
		return sortingNum;
	}

	public void setSortingNum(Integer sortingNum) {
		this.sortingNum = sortingNum;
	}

	public String getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(String organizationId) {
		this.organizationId = organizationId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	public Date getDelTime() {
		return delTime;
	}

	public void setDelTime(Date delTime) {
		this.delTime = delTime;
	}

}
